package team.hyznrj.studentsys.service;

import team.hyznrj.studentsys.entity.QualityMark;
import team.hyznrj.studentsys.entity.SkillMark;

import java.util.List;

/**
 * @author ReMidDream
 * @date 2018-04-11 14:09
 **/
public interface QualityMarkService {

    List<QualityMark> findAllQualityMark();

    boolean insertOrUpdateQualityMark(QualityMark qualityMark);

    /**
     * 删除项目,如已被使用则无法删除
     * @param ids
     * @return
     */
    boolean delectQualityMark(List<String> ids);

    /**
     * 强制删除,会同时删除关联属性
     * @param ids
     * @return
     */
    boolean forcedDelectQualityMark(List<String> ids);
}
